package com.wltt.healing.healinguserservice.service;

import com.wltt.healing.healinguserservice.model.po.UserPO;
import org.springframework.web.reactive.function.server.ServerRequest;
import org.springframework.web.reactive.function.server.ServerResponse;
import reactor.core.publisher.Mono;


/**
 * @Author: wltt
 * @Date: 2021/9/8 15:26：
 * @Version: 1.0
 * @Description: TODO
 */
public interface UserService extends BaseService<UserPO, Long> {

    /**
     * 登录前获取用于加密密码的秘钥
     *
     * @param serverRequest
     */
    Mono<ServerResponse> securityKey(ServerRequest serverRequest);

    /**
     * 登录前获取用于加密密码的秘钥
     *
     * @param serverRequest
     */
    Mono<ServerResponse> login(ServerRequest serverRequest);
}